package com.example.a02back.service;

import com.example.a02back.common.APIResponse;
import com.example.a02back.dto.MyDone;
import com.example.a02back.dto.UserCard;
import com.example.a02back.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SimpChaos
 * @since 2022-07-02
 */
public interface   IUserService extends IService<User> {


    String authorize(String code);

    APIResponse login(String sessionId, String encryptedData, String iv);

    UserCard getUserCard(String uid);

    //String favoriteItem(String uid,String sid);


}
